package com.desksoft.ecommerce.vo.mall;

import java.util.List;

import com.desksoft.ecommerce.base.Entity;


public class ComponentSettingVO implements Entity{
	
	private static final long serialVersionUID = 6721990623497387785L;
	
	public static final String COMPONENT_VENDORLIST = "component-vendorlist";
	public static final String COMPONENT_PRODUCTLIST = "component-prductlist";
	public static final String COMPONENT_PROMOTIONLIST = "component-promotionlist";
	public static final String COMPONENT_PROMOTIONITEM = "component-promotionitem";
	
	/***
	 * 
	 */
	private String comment;
	/**
	 * GroupId
	 * */
	private String groupId;
	/**
	 * SiteId
	 * */
	private Integer siteId;
	/**
	 * 父KEY
	 */
	private String parentNameKey ;
	/**
	 * 父KEY
	 */
	private String setViewNameKey ;
	/**
	 * KEY
	 */
	private String nameKey ;
	/**
	 * 显示的名称  
	 */
	private String viewName;
	/**
	 * 开通的功能 1 :单选  2复选  3输入框
	 */
	private Integer type ;
	/**
	 * 值
	 */
	private String value ; 
	/**
	 * 状态 1 启用。0 不启用
	 */
	private Integer status ;
	/**
	 * 万能id
	 */
	private String purposeId ;
	/**
	 * 顺序
	 */
	private Integer step;
	
	/**
	 * 单页项值
	 * */
	private String prodValue;
	
	/**
	 * 表名，用于更新
	 */
	private String tableName ;
	
	public String getProdValue() {
		return prodValue;
	}

	public void setProdValue(String prodValue) {
		this.prodValue = prodValue;
	}

	/**
	 * 子功能
	 */
	
	private List<ComponentSettingVO> childs ;
	/**
	 * 明细
	 */
	private List<ComponentSettingVO> details ;
	
	public String getParentNameKey() {
		return parentNameKey;
	}

	public void setParentNameKey(String parentNameKey) {
		this.parentNameKey = parentNameKey;
	}

	public String getNameKey() {
		return nameKey;
	}

	public void setNameKey(String nameKey) {
		this.nameKey = nameKey;
	}

	public String getViewName() {
		return viewName;
	}

	public void setViewName(String viewName) {
		this.viewName = viewName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPurposeId() {
		return purposeId;
	}

	public void setPurposeId(String purposeId) {
		this.purposeId = purposeId;
	}

	public String getSetViewNameKey() {
		return setViewNameKey;
	}

	public void setSetViewNameKey(String setViewNameKey) {
		this.setViewNameKey = setViewNameKey;
	}

	public Integer getStep() {
		return step;
	}

	public void setStep(Integer step) {
		this.step = step;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public List<ComponentSettingVO> getChilds() {
		return childs;
	}

	public void setChilds(List<ComponentSettingVO> childs) {
		this.childs = childs;
	}

	public List<ComponentSettingVO> getDetails() {
		return details;
	}

	public void setDetails(List<ComponentSettingVO> details) {
		this.details = details;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setSiteId(Integer siteId) {
		this.siteId = siteId;
	}

	public Integer getSiteId() {
		return siteId;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getComment() {
		return comment;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableName() {
		return tableName;
	}

	
}